<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>
毛玻璃效果
</title>
<style>
  .demo{
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://ss2.meipian.me/users/61863988/782a2de0-bf3a-11ea-8c70-836ad2a369b8.jpg')
  }
  
  .glass {
    position: absolute;
    width: 100%;
    height: 200px;
    background: linear-gradient(to right bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    backdrop-filter: blur(4px);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
    border-radius: 300px/100px;
  }
  
  .text{
    text-align: center;
    position: absolute;
    margin-left: 200px;
    margin-right: 200px;
    top: 50px;
    font-size:24px;
    font-weight: bold;
    color: blue;
    opacity: 0.4;
    }
</style>
</head>
<body>
<div class='demo'>
<div class='glass'>
<div class='text'>
  I want to be a gentle person, away from the hustle and bustle of the city, not noisy not noisy, not fight not rob, flowing through this life.
</div>
<div class='trapezoid'></div>
<div class='glass-bottom'></div>
</div>
</div>
</body>
</html>
